package com.zygh.policeasset.mapper;

import com.zygh.policeasset.pojo.Category;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/mapper/CategoryMapper.class */
public interface CategoryMapper {
    @Select({"select * from category order by id"})
    List<Category> findAll();

    @Select({"select * from category where id=#{id}"})
    Category findById(int i);
}